<template>
    <div class="dy-main RiskWaringLetter">
    <div class="dy-header">
      <x-header :right-options="{showMore: false}" :left-options="{preventGoBack:true}" @on-click-back="back">个人外汇风险提示函</x-header>
    </div>
    <div class="dy-body">
      <group gutter="0">
        <cell :title="('姓名')" :value="name"></cell>
        <cell :title="('身份证')" :value="IDCard"></cell>
      </group>
      <div class="tipMsgInfo">
        <p>根据《国家外汇管理局关于进一步完善个人结售汇业务的通知》（汇发[2009]56号）等相关规定，你办理的外汇业务，涉嫌借出本人额度协助他人规避额度及真实性管理，若再次出现上述行为，将被外汇局列入“关注名单”管理</p>
        <p>特此提示</p>
        <p>注：本提示函仅用于对相关个人进行提示，无需银行及个人签章留存</p>
      </div>
       <div @click="back" class="buttonGoback">返回</div>
    </div>
  </div>
</template>

<script>
export default {
  data () {
    return {
      name: '测试姓名',
      IDCard: '521231768986437158'
    }
  },
  methods: {
    back () {
      this.$publicFun.goBack(this)
    },
    refreshTest () {
      let LVm = this
      this.$bridge.callhandler('nativeRequest',
        JSON.stringify({'requstSource': 'internetRequest', 'url': 'http://whichat.icitic.net/mstep/mstep.do?act=business', 'params': {'method_Name': 'M0401010', 'basic_Data': {'PayAccount': '6217298009765555', 'BuyAmt': '2001'}}}),
        function (response) {
          response = JSON.parse(response)
          if (response.status === 0 || response.status === '0') {
            LVm.prdList = response.data.data
          } else {
            LVm.aaa = response.data.data
          }
        }
      )
      // this.$router.push({name: 'FinancialBuySure', query: {'PayAccount': '6217298009765555', 'BuyAmt': '2001'}})
    }
  },
  created () {
    this.refreshTest()
  }
}
</script>

<style lang="less">
.RiskWaringLetter{
  .dy-body{
    .tipMsgInfo{
      background: #fff;
      margin-top: 0.2rem;
      padding-top: 0.15rem;
      >p{
        font-size: 0.28rem;
        color: #999999;
        text-align: justify;
        padding: 0.15rem 0.3rem;
      }
    }
    .buttonGoback{
      height: 0.88rem;
      width: 6.9rem;
      margin: 0.64rem auto;
      line-height: 0.88rem;
      text-align: center;
      color: #fff;
      border-radius: 0.06rem;
      background: #EC1B30;
      font-size: 0.34rem;
    }
  }
}
</style>
